ListBox.CellClick Event

The user has clicked on the Row, Column cell. The parameters X and Y are the x and y coordinates of the mouse click relative to the top-left corner of the cell that was clicked.

Syntax

CellClick ( Row, Column, X, Y )

Parameters

Row

Integer

Column

Integer

X

Integer

Y

Integer


X and Y are on the same scale of reference as the coordinates used by the Graphics property of the CellBackgroundPaint event.

Returns a Boolean. Returning True means that the event will not be processed further (i.e., editable cells won't be editable and ListBox selection won't change).